import http from "@/utils/http.ts";
import {R} from "@/api/common.ts";

enum Router {
    desc = "time"
}

export interface Time {
    value: number;
    desc: string;
}

export function getTime() {
    return http<R<Time[]>>({
        url: Router.desc,
        method: "get"
    })
}